package example.cloudsitemanagement8002.service;

import com.github.pagehelper.PageInfo;
import example.cloudsitemanagement8002.dto.SiteInfoQueryDTO;
import example.cloudsitemanagement8002.entity.SiteInfo;

public interface SiteInfoService {
    PageInfo<SiteInfo> listSites(SiteInfoQueryDTO queryDTO);
    PageInfo<SiteInfo> listSiteOptions(Integer pageNum, Integer pageSize);
    SiteInfo getSiteById(Long id);
    boolean addSite(SiteInfo siteInfo);
    boolean updateSite(SiteInfo siteInfo);
    boolean deleteSite(Long id);
}
